FileCache.this

Constructor of #ShumateFileCache.

  1. this(ShumateFileCache* shumateFileCache, bool ownedRef)
  2. this(uint sizeLimit, string cacheKey, string cacheDir)
    class FileCache
    this
    (,
    string cacheKey
    ,
    string cacheDir
    )

Parameters

sizeLimit uint

maximum size of the cache in bytes

cacheKey string

an ID for the tileset to store/retrieve

cacheDir string

the directory where the cache is created. When cache_dir == NULL, a cache in ~/.cache/shumate is used.

Return Value

a constructed #ShumateFileCache

Throws

ConstructionException GTK+ fails to create the object.

Meta